<admintpl file="header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<form class="well form-search" method="post" action="{:U('Card/showcard')}">
			可约场馆： 
			<select name='cansite' style="width: 100px;" >
				<option value ="" ></option>
				<option value ="二十四城" <if condition="$where['cansite']=='二十四城'"> selected </if> >二十四城</option>
				<option value ="高新" <if condition="$where['cansite']=='高新'"> selected </if> >高新</option>
				<option value="磨子桥" <if condition="$where['cansite']=='磨子桥'"> selected </if> >磨子桥</option>
				<option value="凯旋广场" <if condition="$where['cansite']=='凯旋广场'"> selected </if> >凯旋广场</option>
				<option value ="磨子桥,二十四城,高新,凯旋广场" <if condition="$where['cansite']=='磨子桥,二十四城,高新,凯旋广场'"> selected </if> >通用卡</option>
			</select>
			<input type="submit" class="btn btn-primary" value="搜索" />
			<a class="btn btn-danger" href="{:U('Card/clear')}">清空</a>
		</form>
		<table  class="table table-hover table-bordered table-list">
			<tr>
				<th>卡种名称</th>
				<th>可约场馆</th>
				<th>可约课程</th>
				<th>管理员操作</th>
			</tr>
			<volist name='msg' id='show'>
				<tr>
					<td>{$show['cardname']}</td>
					<td>{$show['cansite']}</td>
					<td>{$show['canlesson']}</td>
					<!--pathinfo模式下的参数传递：控制器/方法/参数/参数的值-->
					<td><a class="btn btn-primary btn-small" href='index.php?m=Card&a=editcard&cardname={$show.cardname}'>修改</a>&nbsp;<a class="btn btn-danger btn-small" href='index.php?m=Card&a=delcard&cardname={$show.cardname}'>删除</a></td>
				</tr>
			</volist>
		</table>
		<div class="pagination">{$page}</div>
	</div>
<!--<tc_include file=":footer" />-->

</body>
</html>